﻿<%@ Page Language="C#" MasterPageFile="~/MainMaster.Master" AutoEventWireup="true" CodeBehind="AnalystList.aspx.cs" Inherits="Mang24k99.Web.Analyst.AnalystList" Title="投资分析师" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table border="0" width="100%" height="34" align="center"
        background="../Images/bg1.jpg">
      <tr>
        <td width="40%" align="right"><a class="col" href="AnalystAdd.aspx">新增分析师</a></td>
        <td width="20%"></td>
        <td width="40%"><a class="col_on" href="AnalystList.aspx">更换或修改分析师</a></td>
      </tr>
    </table>
     <table>
        <tr>
            <td class="tb_searchTitle1">所属机构</td>
            <td class="tb_searchTxt1"><asp:TextBox ID="txtOrg" runat="server"></asp:TextBox></td>
            <td >
                <asp:Button ID="btnSearchByOrg"  runat="server"  CssClass="form_btn" Text="查询" /></td>
            <td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
            <td class="tb_searchTitle1">分析师姓名</td>
            <td class="tb_searchTxt1"><asp:TextBox ID="txtAnalyer" runat="server"></asp:TextBox></td>
            <td >
                <asp:Button ID="btnSearchByAnalyer"  runat="server"  CssClass="form_btn" Text="查询" /></td>
        </tr>
     </table>
    <asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" />
     <div>
        <asp:GridView ID="grdList" runat="server"  OnRowDeleting="grdList_RowDeleting" 
            AutoGenerateColumns="False" Width="100%"
            onselectedindexchanged="grdList_SelectedIndexChanged">
            <HeaderStyle CssClass="tb_title2" />
            <RowStyle CssClass="tb_txt2" />
             <Columns>
                <asp:TemplateField HeaderText="序号">
                    <ItemTemplate>
                        <%#Container.DataItemIndex+1%>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="SubjectType" HeaderText="机构名称" />
                <asp:BoundField DataField="SubjectTypename" HeaderText="分析师名称" />
                <asp:BoundField DataField="TitleDisplay" HeaderText="分析师照片" />
                <asp:BoundField DataField="AddresDsplay"  HeaderText="职称" />
                <asp:BoundField DataField="DisplayNum" HeaderText="近期重点策略建议" />
                <asp:BoundField DataField="DisplayNum" HeaderText="经历" />
                <asp:BoundField DataField="DisplayNum" HeaderText="首页显示" />
                <asp:ButtonField ButtonType="link" CommandName="Select" HeaderText="编辑" ShowHeader="True"
                    Text="编辑" />
                <asp:CommandField DeleteText="&lt;div id=&quot;de&quot; onclick=&quot;JavaScript:return confirm('确定删除吗？')&quot;&gt;删除&lt;/div&gt; "  HeaderText="删除" ShowDeleteButton="True" />
            </Columns>
        </asp:GridView>
    </div>
    <div>
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="8" FirstPageText="首页"
            LastPageText="尾页" NextPageText="下一页" OnPageChanged="AspNetPager1_PageChanged"
            PrevPageText="上一页" ShowInputBox="Always" SubmitButtonText="GO" AlwaysShow="True"
            CssClass="AspNetPager" CustomInfoHTML="  共&lt;span class=&quot;AspNetPager_current&quot;&gt;{0}&lt;/span&gt;页"
            CurrentPageButtonClass="AspNetPager_current" CustomInfoClass="" HorizontalAlign="Right"
            InputBoxClass="AspNetPager_txt" SubmitButtonClass="AspNetPager_btn" CurrentPageButtonStyle="AspNetPager"
            PagingButtonSpacing="1px" ShowCustomInfoSection="Right">
        </webdiyer:AspNetPager>
    </div>
    
</asp:Content>
